package models;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import play.data.validation.Required;
import play.db.jpa.Model;

@Entity
@Table(name="manager")
public class Manager extends Model {
	
	@Column(name="rol_id",length=50)
	public String rolid;
	
	@Required
	@Column(name="man_num",length=50)
	public String mannum;
	
	@Required
	@Column(name="man_pass",length=50)
	public String manpass;
	
	@Required
	@Column(name="man_name",length=50)
	public String manname;
	
	@Required
	@Column(name="man_states")
	public int manstates; //1禁用,0正常,2回收状态'
	
}
